POV-Ray : Newsgroups : povray.general : Is Basic language array to POV array possible? : Is Basic language array to POV array possible? Server Time
9 Aug 2024 01:27:52 EDT (-0400)
  Is Basic language array to POV array possible?  
From: Bob Hughes
Date: 9 Sep 2000 12:25:51
Message: <39ba648f@news.povray.org>
I was trying to convert some Basic programming language arrays to POV arrays
and it hasn't worked.  Does anyone have experience with doing this yet?  An
example of what I'm doing is like so:

A(I)  // in Basic, after being DIM first as A(15).

A[I] // in POV, initialized as A[15]

All I get is subscript out of range error.  "I" is the incremental value
done in a loop.

Hope someone can at least tell me it's impossible if nothing else.  It's
entirely possible that I've got a bad pov script as well so far but the
error seems to isolate at the array.  If arrays can't accept variables in
this way I didn't figure that out from the documentation.  I also made a
quick search of these newsgroups and didn't see any Basic to POV array
converting mentioned.  Perhaps I overlooked it though.
TIA anyone.

Bob
--
omniVerse http://users.aol.com/persistenceofv/all.htm


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.